<?php
 include "core/mysql.php";
 $list_id=$_GET['list_id'];
 
 $sql="select * from tbl_comment where list_id=$list_id order by id desc";
 $res = fetchAll($sql);//查询的方法

?>